{extend name="../../admin/view/full"}
{block name='content'}
<div class="iframe-pagination">
    <div class="layui-tab-content table-block">
        {include file='cat/toilet_select_search'}
        <table class="layui-table margin-top-5" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th>进入时间</th>
                <th>离开时间</th>
                <th>时长</th>
                <th>重量</th>
                <th>上传时间</th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key => $vo}
            <tr>
                <td>{$vo.in_time|default=''}</td>
                <td>{$vo.out_time|default=''}</td>
                <td>{$vo.duration|default=''}（秒）</td>
                <td>{$vo.weight|format_weight}</td>
                <td>{$vo.create_at|default=''}</td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

    </div>
</div>
{/block}